opencv_createsamples working in a different way

by: NearCZ, 9 years ago


Hi, I followed along with the OpenCV tutorial. In the last chapter I wanted to create samples like it is shown. I think I use a different version of OpenCV. I had to add a newlline in the bg.txt after every entry, in order to get the first command: opencv_createsamples -img watch5050.jpg -bg bg.txt -info info/info.lst -pngoutpu.. running. The command worked after that, but i have a folder called annotations and a folder called pos in my info directory. The sample pictures are stored in pos and in annotations, there are 1950 textfiles. Apart from that my info.lst looks like this: info/annotations/0001_0022_0049_0040_0040.txt. I am unable to get the next command running, I suppose, because the previous command worked in a different way.
Is there a way to get the same version of opencv, that was used in the video, or do I only have to change something?



You must be logged in to post. Please login or register an account.